<div class="container">
 
<form th:action="@{/genres}" method="post" th:object="${genreModel.genre}" id="genreForm">
	<input type="hidden" name="id" th:value="*{id}">
	
	<div class="form-group">
		<label for="name" class="col-form-label">名称</label>
		<input type="text" class="form-control" id="name" name="name" th:value="*{name}" maxlength="20" placeholder="请输入姓名，至少2个字符，至多20个" >
	</div>
</form>
 
</div>
<!-- /.container -->
 